"use client"
import { useRouter } from 'next/navigation'
export default function Home() {
    const router = useRouter()
    return (
        <div>
            <h1>Home</h1>
            <button type="button" onClick={() => router.push('/about')}>
                to about
            </button>
        </div>
    )
}